[INFO] cloning repository https://github.com/wjw99830/js_parser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wjw99830/js_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjw99830%2Fjs_parser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjw99830%2Fjs_parser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b480da9adb3cd9da565fa9cefbaa1cd036949e08
[INFO] checking wjw99830/js_parser against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjw99830%2Fjs_parser" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wjw99830/js_parser on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/wjw99830/js_parser
[INFO] finished tweaking git repo https://github.com/wjw99830/js_parser
[INFO] tweaked toml for git repo https://github.com/wjw99830/js_parser written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/wjw99830/js_parser already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d5cafae8b302270579a6cd7cd6ece4e8877650cee4a37ad0341cab9a25ffc4b3
[INFO] running `Command { std: "docker" "start" "-a" "d5cafae8b302270579a6cd7cd6ece4e8877650cee4a37ad0341cab9a25ffc4b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d5cafae8b302270579a6cd7cd6ece4e8877650cee4a37ad0341cab9a25ffc4b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5cafae8b302270579a6cd7cd6ece4e8877650cee4a37ad0341cab9a25ffc4b3", kill_on_drop: false }`
[INFO] [stdout] d5cafae8b302270579a6cd7cd6ece4e8877650cee4a37ad0341cab9a25ffc4b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a8dea0003d9bcd875fd75f6b0885b9293dec089b52b680d1776f86136f4c0a2a
[INFO] running `Command { std: "docker" "start" "-a" "a8dea0003d9bcd875fd75f6b0885b9293dec089b52b680d1776f86136f4c0a2a", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking utf8_slice v1.0.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking js_parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parser.rs:310:40
[INFO] [stdout]     |
[INFO] [stdout] 310 |     let startPos = Position::new(line, column);
[INFO] [stdout]     |                    -------------       ^^^^^^ expected `usize`, found `&mut usize`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/node.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout] 40  |     pub fn new(line: usize, column: usize) -> Self {
[INFO] [stdout]     |            ^^^              -------------
[INFO] [stdout] help: consider dereferencing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 310 |     let startPos = Position::new(line, *column);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/parser.rs:375:48
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(identifier)))
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^------------
[INFO] [stdout]     |                                                               ||
[INFO] [stdout]     |                                                               |expected struct `String`, found `&str`
[INFO] [stdout]     |                                                               two arguments of type `Position` and `Position` are missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/node.rs:55:12
[INFO] [stdout]     |
[INFO] [stdout] 55  |     pub fn new(name: String, start: Position, end: Position) -> Self {
[INFO] [stdout]     |            ^^^ ------------  ---------------  -------------
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(identifier.to_string())))
[INFO] [stdout]     |                                                                          ++++++++++++
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(/* String */, /* Position */, /* Position */)))
[INFO] [stdout]     |                                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parser.rs:310:40
[INFO] [stdout]     |
[INFO] [stdout] 310 |     let startPos = Position::new(line, column);
[INFO] [stdout]     |                    -------------       ^^^^^^ expected `usize`, found `&mut usize`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/node.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout] 40  |     pub fn new(line: usize, column: usize) -> Self {
[INFO] [stdout]     |            ^^^              -------------
[INFO] [stdout] help: consider dereferencing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 310 |     let startPos = Position::new(line, *column);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parser.rs:375:23
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(identifier)))
[INFO] [stdout]     |                  ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Box`, found struct `FunctionDeclaration`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<(dyn Statement + 'static)>`
[INFO] [stdout]                found struct `FunctionDeclaration`
[INFO] [stdout]     = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] help: store this in the heap by calling `Box::new`
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(Box::new(FunctionDeclaration::new(Identifier::new(identifier))))
[INFO] [stdout]     |                       +++++++++                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `js_parser` due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/parser.rs:375:48
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(identifier)))
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^------------
[INFO] [stdout]     |                                                               ||
[INFO] [stdout]     |                                                               |expected struct `String`, found `&str`
[INFO] [stdout]     |                                                               two arguments of type `Position` and `Position` are missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/node.rs:55:12
[INFO] [stdout]     |
[INFO] [stdout] 55  |     pub fn new(name: String, start: Position, end: Position) -> Self {
[INFO] [stdout]     |            ^^^ ------------  ---------------  -------------
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(identifier.to_string())))
[INFO] [stdout]     |                                                                          ++++++++++++
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(/* String */, /* Position */, /* Position */)))
[INFO] [stdout]     |                                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parser.rs:375:23
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(identifier)))
[INFO] [stdout]     |                  ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Box`, found struct `FunctionDeclaration`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<(dyn Statement + 'static)>`
[INFO] [stdout]                found struct `FunctionDeclaration`
[INFO] [stdout]     = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] help: store this in the heap by calling `Box::new`
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(Box::new(FunctionDeclaration::new(Identifier::new(identifier))))
[INFO] [stdout]     |                       +++++++++                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `js_parser` due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "a8dea0003d9bcd875fd75f6b0885b9293dec089b52b680d1776f86136f4c0a2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8dea0003d9bcd875fd75f6b0885b9293dec089b52b680d1776f86136f4c0a2a", kill_on_drop: false }`
[INFO] [stdout] a8dea0003d9bcd875fd75f6b0885b9293dec089b52b680d1776f86136f4c0a2a
